﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopManage.aspx.cs" Inherits="TaoBaoProject.Pages.ShopManage" %>

<%@ Register Assembly="_7he7.ColorPicker" Namespace="Karpach.WebControls" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Styles/Reset.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/demo/demo.css">
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.min.js"></script>
    <script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
    <script src="../Scripts/Shop.js" type="text/javascript"></script>
</head>
<body style="text-align: center">
    <form id="form1" runat="server">
    <%--  <div style="background-image: url(../Images/MainPage/bg.gif); background-repeat: repeat-x;--%>
    <div style="margin: 0 auto; width: 800px;">
        <fieldset>
            <legend style="font-size: x-large; font-weight: bold;">添加店铺</legend>
            <table>
                <tr>
                    <td>
                        店铺名称：
                    </td>
                    <td>
                        <%--<asp:TextBox ID="txtShopName" class="easyui-validatebox" missingmessage="店铺名称不能为空!"
                            runat="server"></asp:TextBox>--%>
                        <input name="ShopID" id="allShops" style="width: 100px; cursor: pointer" valuefield="ShopID"
                            textfield="ShopName"></input>
                    </td>
                    <td>
                        &nbsp;&nbsp;&nbsp;&nbsp;店铺颜色：
                    </td>
                    <td>
                        <cc1:ColorPicker ID="cp" runat="server" />
                    </td>
                </tr>
                <tr style="height: 100px;">
                    <td colspan="4">
                        <input id="btnAddShopColor" type="button" value="添加新店铺" style="width: 150px; height: 50px" />
                        <input id="btnUpdateShopColor" type="button" value="修改店铺颜色" style="width: 150px;
                            height: 50px" />
                        <%--<asp:Button ID="btnAddShopColor" runat="server" Text="添加新店铺" Height="50px" OnClientClick="return CheckIsEmptyValue()"
                            OnClick="btnAddShopColor_Click" Width="150" />
                        <asp:Button ID="btnUpdateShopColor" runat="server" Text="修改店铺颜色" Height="50px" Width="150"
                            OnClientClick="return CheckIsEmptyValue()" OnClick="btnUpdateShopColor_Click" />--%>
                    </td>
                </tr>
            </table>
        </fieldset>
    </div>
    <div style="width: 800px; margin: 0 auto;">
        <fieldset>
            <legend style="font-size: x-large; font-weight: bold;">店铺管理</legend>
            <asp:ListBox ID="ListAllShops" runat="server" DataTextField="ShopName" DataValueField="ShopID"
                Width="300" Height="260"></asp:ListBox>
            <asp:Button ID="btnDelShop" runat="server" Text="删除店铺" Height="50px" Style="" Width="150px"
                OnClick="btnDelShop_Click" />
        </fieldset>
    </div>
    </form>
</body>
</html>
